import { createRouter, createWebHashHistory } from 'vue-router'

const history = createWebHashHistory()

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue'),
  },
  {
    path: '/searchresult',
    name: 'searchresult',
    component: () => import('../views/SearchResult.vue'),
  },
]
const router = createRouter({
  history,
  routes,
})

export default router
